Platform Explorer / Nuxeo Platform 2023.10

Operation RunScript (Run Script)

Description

Run a script which content is specified as text in the 'script' parameter
Operation id RunScript
AliasesContext.RunScript
Category Scripting
Label Run Script
Requires
Since

Parameters

Name Description Type Required Default value
script string yes  

Signature

Inputs void
Outputs void

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.RunScript
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "RunScript",
  "aliases" : [ "Context.RunScript" ],
  "label" : "Run Script",
  "category" : "Scripting",
  "requires" : null,
  "description" : "Run a script which content is specified as text in the 'script' parameter",
  "url" : "RunScript",
  "signature" : [ "void", "void" ],
  "params" : [ {
    "name" : "script",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "TextArea",
    "order" : 0,
    "values" : [ ]
  } ]
}